package com.yserp.api.baseapi;

import java.io.Serializable;
import java.util.Date;

/**
 * 表SYS_MENU数据库Bean.
 */
public class TSysMenuBean implements Serializable {
    /**
     * 菜单ID.
     */
    private String menuId;
    
    /**
     * 含有子菜单数量
     */
    private int num;

    /**
     * 菜单名称或按钮名称.
     */
    private String menuName;

    /**
     * 上级菜单ID.
     */
    private String pMenuId;

    /**
     * 权限名称：作为权限是显示的名称.
     */
    private String privName;

    /**
     * 菜单地址.
     */
    private String menuUrl;

    /**
     * 显示顺序.
     */
    private Short showOrder;

    /**
     * 菜单图标.
     */
    private String menuIcon;

    /**
     *  菜单类型：1-导航菜单；2-按钮.
     */
    private Short menuType;

    /**
     * 菜单状态：1-正常启用状态；2-功能关闭；3-隐藏或内测功能.
     */
    private Short menuState;

    /**
     * 所属系统ID.
     */
    private String systemId;

    /**
     * .
     */
    private String menuDesc;

    /**
     * .
     */
    private String modifierLoginName;

    /**
     * .
     */
    private Date modifyTime;

    /**
     * .
     */
    private Date modifyTimeParam;

    /**
     * .
     */
    private String creatorLoginName;

    /**
     * .
     */
    private Date createTime;

    /**
     * 1-正常；2-删除.
     */
    private Short delFlag;

    private static final long serialVersionUID = 1L;

    /**
     * 菜单ID(MENU_ID)get方法.
     */
    public String getMenuId() {
        return menuId;
    }

    /**
     * 菜单ID(MENU_ID)set方法.
     */
    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    /**
     * 菜单名称或按钮名称(MENU_NAME)get方法.
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 菜单名称或按钮名称(MENU_NAME)set方法.
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * 上级菜单ID(P_MENU_ID)get方法.
     */
    public String getpMenuId() {
        return pMenuId;
    }

    /**
     * 上级菜单ID(P_MENU_ID)set方法.
     */
    public void setpMenuId(String pMenuId) {
        this.pMenuId = pMenuId;
    }

    /**
     * 权限名称：作为权限是显示的名称(PRIV_NAME)get方法.
     */
    public String getPrivName() {
        return privName;
    }

    /**
     * 权限名称：作为权限是显示的名称(PRIV_NAME)set方法.
     */
    public void setPrivName(String privName) {
        this.privName = privName;
    }

    /**
     * 菜单地址(MENU_URL)get方法.
     */
    public String getMenuUrl() {
        return menuUrl;
    }

    /**
     * 菜单地址(MENU_URL)set方法.
     */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    /**
     * 显示顺序(SHOW_ORDER)get方法.
     */
    public Short getShowOrder() {
        return showOrder;
    }

    /**
     * 显示顺序(SHOW_ORDER)set方法.
     */
    public void setShowOrder(Short showOrder) {
        this.showOrder = showOrder;
    }

    /**
     * 菜单图标(MENU_ICON)get方法.
     */
    public String getMenuIcon() {
        return menuIcon;
    }

    /**
     * 菜单图标(MENU_ICON)set方法.
     */
    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    /**
     *  菜单类型：1-导航菜单；2-按钮(MENU_TYPE)get方法.
     */
    public Short getMenuType() {
        return menuType;
    }

    /**
     *  菜单类型：1-导航菜单；2-按钮(MENU_TYPE)set方法.
     */
    public void setMenuType(Short menuType) {
        this.menuType = menuType;
    }

    /**
     * 菜单状态：1-正常启用状态；2-功能关闭；3-隐藏或内测功能(MENU_STATE)get方法.
     */
    public Short getMenuState() {
        return menuState;
    }

    /**
     * 菜单状态：1-正常启用状态；2-功能关闭；3-隐藏或内测功能(MENU_STATE)set方法.
     */
    public void setMenuState(Short menuState) {
        this.menuState = menuState;
    }

    /**
     * 所属系统ID(SYSTEM_ID)get方法.
     */
    public String getSystemId() {
        return systemId;
    }

    /**
     * 所属系统ID(SYSTEM_ID)set方法.
     */
    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    /**
     * (MENU_DESC)get方法.
     */
    public String getMenuDesc() {
        return menuDesc;
    }

    /**
     * (MENU_DESC)set方法.
     */
    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    /**
     * (MODIFIER_LOGIN_NAME)get方法.
     */
    public String getModifierLoginName() {
        return modifierLoginName;
    }

    /**
     * (MODIFIER_LOGIN_NAME)set方法.
     */
    public void setModifierLoginName(String modifierLoginName) {
        this.modifierLoginName = modifierLoginName;
    }

    /**
     * (MODIFY_TIME)get方法.
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * (MODIFY_TIME)get方法.
     */
    public Date getModifyTimeParam() {
        return modifyTimeParam;
    }

    /**
     * (MODIFY_TIME)set方法.
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * (MODIFY_TIME)set方法.
     */
    public void setModifyTimeParam(Date modifyTimeParam) {
        this.modifyTimeParam = modifyTimeParam;
    }

    /**
     * (CREATOR_LOGIN_NAME)get方法.
     */
    public String getCreatorLoginName() {
        return creatorLoginName;
    }

    /**
     * (CREATOR_LOGIN_NAME)set方法.
     */
    public void setCreatorLoginName(String creatorLoginName) {
        this.creatorLoginName = creatorLoginName;
    }

    /**
     * (CREATE_TIME)get方法.
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * (CREATE_TIME)set方法.
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 1-正常；2-删除(DEL_FLAG)get方法.
     */
    public Short getDelFlag() {
        return delFlag;
    }

    /**
     * 1-正常；2-删除(DEL_FLAG)set方法.
     */
    public void setDelFlag(Short delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", menuId=").append(menuId);
        sb.append(", menuName=").append(menuName);
        sb.append(", pMenuId=").append(pMenuId);
        sb.append(", privName=").append(privName);
        sb.append(", menuUrl=").append(menuUrl);
        sb.append(", showOrder=").append(showOrder);
        sb.append(", menuIcon=").append(menuIcon);
        sb.append(", menuType=").append(menuType);
        sb.append(", menuState=").append(menuState);
        sb.append(", systemId=").append(systemId);
        sb.append(", menuDesc=").append(menuDesc);
        sb.append(", modifierLoginName=").append(modifierLoginName);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", creatorLoginName=").append(creatorLoginName);
        sb.append(", createTime=").append(createTime);
        sb.append(", delFlag=").append(delFlag);
        sb.append("]");
        return sb.toString();
    }

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

}